Excel Çalışma Sayfalarını Kopyalayın
The code example above shows how to use IronXL to duplicate and copy WorkSheets within and between Excel WorkBooks. Sayfaları diğer çalışma kitaplarına kopyalayın ve yapıştırın. Aynı çalışma kitabı içinde yinelenen sayfalar oluşturun.
The CopySheet method is used to duplicate a worksheet within the same workbook or spreadsheet. Yeni çalışma sayfasının adı, bir parametre olarak gereklidir.
Use the CopyTo method to duplicate a sheet to or from another workbook. A WorkBook is required as the first parameter and is followed by the name of the new worksheet.
Bu bağlantıdan bir dosya projesi indirebilirsiniz.
How to Copy Excel Worksheets in C
- Çalışma sayfalarını kopyalamak için bir Excel kütüphanesi yükleyin.
- Bir Excel çalışma kitabı yükleyin ve yeni bir sayfa oluşturun.
- Use the
CopyTomethod to copy data to the new worksheet. - Yeni Excel çalışma sayfasını kaydedin.
IronXL ile C# kullanarak Excel hücrelerini nasıl kopyalayacağınızı keşfedin.

